[INFO] cloning repository https://github.com/Heasn/Sharing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Heasn/Sharing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b16932ad8e1b4d200b284017a5a4e423a97099d0
[INFO] checking Heasn/Sharing against try#f4690f24e7d9bcb0b168a02b06dd61391e8bd55a for pr-157814-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Heasn/Sharing
[INFO] finished tweaking git repo https://github.com/Heasn/Sharing
[INFO] tweaked toml for git repo https://github.com/Heasn/Sharing written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Heasn/Sharing on toolchain f4690f24e7d9bcb0b168a02b06dd61391e8bd55a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Heasn/Sharing already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712
[INFO] running `Command { std: "docker" "start" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling libloading v0.7.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling clang-sys v1.3.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.15.0
[INFO] [stderr]    Compiling Sharing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> build.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(misleading_cfg_in_build_script)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> build.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> build.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     #[cfg(target_os = "macos")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SwiftTargetInfo` is never constructed
[INFO] [stdout]   --> build.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct SwiftTargetInfo {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SwiftPaths` is never constructed
[INFO] [stdout]   --> build.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct SwiftPaths {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SwiftTarget` is never constructed
[INFO] [stdout]   --> build.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct SwiftTarget {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Sharing` (build script) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712", kill_on_drop: false }`
[INFO] [stdout] 195e41b6d0c326dee00eaf4c64380e2493ecabad0548018993b2a3c99d2dc712
